<?php

set_include_path(
    realpath('../lib') . PATH_SEPARATOR .
    realpath('../classes') . PATH_SEPARATOR .
    get_include_path()
);

require_once "Ignus/App.php";

use Ignus\App;
use Ignus\Router;

$route = isset($_SERVER['PATH_INFO']) ? $_SERVER['PATH_INFO'] : '/';

App::init('..', App::MODE_DEVELOPMENT);
App::run(new Router($route, $_SERVER['REQUEST_METHOD']));
